package com.gugee.ins.common.constant;

/**
 * 消息类型枚举
 * @author Huangxin
 */
public enum InsBloggerMsgTypeCodeEnum {
    /**
     *
     */
    DEFAULT(0,"默认"),
    HANDLE_AND_DO_OTHER_OPT(1,"需要处理，且需要做其他操作"),
    NO_HANDLE_AND_DO_OTHER_OPT(2,"不需要处理,但需要做其他操作"),
    ST_LANGUAGE(101,"活跃粉丝语言统计"),
    ST_NATION(102,"活跃粉丝语言统计"),
    ST_BRAND(103,"活跃粉丝关注品牌统计"),
    ST_GENERATION_RACE_GENDER(104,"活跃粉丝年龄性别人种统计"),
    ST_INCOME(105,"活跃粉丝收入统计"),
    ST_PRODUCT_MONTH(201,"统计近一个月"),
    ST_PRODUCT_WEEK(202,"统计近一周"),
    CLP_SRC_MERCHANT(300,"ins_product 中的商家"),
    CLP_SRC_MEDIA_TAG_PRODUCT(301,"ins_media 拥有商品帖的播主"),
    CLP_SRC_MEDIA_SPONSOR(302,"ins_rel_media_sponsor_user 中的赞助商"),
    CLP_SRC_MEDIA_TAGGER(303,"ins_rel_media_tagger_user 中的标记用户"),
    CLP_SRC_ACTIVE_FOLLOWER(304,"ins_rel_blogger_active_follower 中的粉丝"),
    UID_UPDATE_F_COLLECT(400,"播主收录所需的uid更新"),
    UID_UPDATE_F_FEED(401,"推荐流发现的播主uid更新"),
    UID_UPDATE_F_MBLOGGER_TIMING(402,"ins_blogger_main表中大播主定时uid更新"),
    UID_UPDATE_F_MBLOGGER_UP_TIMING(402,"ins_blogger_main表中小播主定时uid更新"),
    UID_UPDATE_F_BLOGGER_TIMING(403,"ins_blogger表中小播主定时uid更新"),
    UID_UPDATE_F_MBLOGGER_RELATION_TIMING(404,"ins_blogger_relation的未收录播主定时uid"),
    UID_UPDATE_F_BLOGGER_TIMING_MIDDLE(405,"ins_blogger_main表中粉丝在中型播主的定时uid更新");

    /**
     * 返回码
     */
    int code;
    /**
     * 解释
     */
    String desc;

    InsBloggerMsgTypeCodeEnum(int code, String desc){
        this.code = code;
        this.desc = desc;
    }

    /**
     * 获取编码
     * @return
     */
    public int getCode() {
        return code;
    }

    /**
     * 获取描述
     * @return
     */
    public String getDesc() {
        return desc;
    }
}
